home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pine / imap-3.0 / non-ANSI / c-client / makefile.hpp < prev    next >
Encoding:
Makefile  |  1993-03-27  |  2.9 KB  |  94 lines

  1. # Program:    Portable C client makefile -- HP/UX version
  2. #
  3. # Author:    David L. Miller
  4. #        Computing and Telecommunications Center
  5. #        Washington State University Tri-Cities
  6. #        Richland, WA 99352
  7. #        Internet: dmiller@beta.tricity.wsu.edu
  8. #
  9. # Date:        11 May 1989
  10. # Last Edited:    27 March 1993
  11. #
  12. # Copyright 1993 by the University of Washington
  13. #
  14. #  Permission to use, copy, modify, and distribute this software and its
  15. # documentation for any purpose and without fee is hereby granted, provided
  16. # that the above copyright notice appears in all copies and that both the
  17. # above copyright notice and this permission notice appear in supporting
  18. # documentation, and that the name of the University of Washington not be
  19. # used in advertising or publicity pertaining to distribution of the software
  20. # without specific, written prior permission.  This software is made
  21. # available "as is", and
  22. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  23. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  24. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  25. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  26. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  27. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  28. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  29. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  30.  
  31. CC = cc
  32. CFLAGS = -g -Dconst=
  33. LDFLAGS = -lnet 
  34.  
  35. mtest: mtest.o c-client.a
  36.     echo $(CFLAGS) > CFLAGS
  37.     echo $(LDFLAGS) > LDFLAGS
  38.     $(CC) $(CFLAGS) -o mtest mtest.o c-client.a $(LDFLAGS)
  39.  
  40. clean:
  41.     rm -f *.o mtest c-client.a osdep.* CFLAGS LDFLAGS
  42.  
  43. mtest.o: mail.h smtp.h nntp.h misc.h osdep.h
  44.  
  45. c-client.a: $& mail.o bezerk.o tenex2.o mbox.o mh.o imap2.o news.o nntpclient.o\
  46.     dummy.o smtp.o nntp.o rfc822.o misc.o osdep.o sm_unix.o
  47.     rm -f c-client.a
  48.     ar rc c-client.a mail.o bezerk.o tenex2.o mbox.o mh.o imap2.o news.o \
  49.     nntpclient.o dummy.o smtp.o nntp.o rfc822.o misc.o osdep.o sm_unix.o
  50.  
  51. mail.o: mail.h misc.h osdep.h
  52.  
  53. bezerk.o: mail.h bezerk.h rfc822.h misc.h osdep.h
  54.  
  55. tenex.o: mail.h tenex.h rfc822.h misc.h osdep.h
  56.  
  57. tenex2.o: mail.h tenex2.h rfc822.h misc.h osdep.h
  58.  
  59. mbox.o: mail.h mbox.h bezerk.h misc.h osdep.h
  60.  
  61. mh.o: mail.h mh.h rfc822.h misc.h osdep.h
  62.  
  63. imap2.o: mail.h imap2.h misc.h osdep.h
  64.  
  65. news.o: mail.h news.h misc.h osdep.h
  66.  
  67. nntpclient.o: mail.h nntp.h nntpclient.h misc.h rfc822.h news.h smtp.h osdep.h
  68.  
  69. dummy.o: mail.h dummy.h misc.h osdep.h
  70.  
  71. smtp.o: mail.h smtp.h rfc822.h misc.h osdep.h
  72.  
  73. nntp.o: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h
  74.  
  75. rfc822.o: mail.h rfc822.h misc.h
  76.  
  77. misc.o: mail.h misc.h osdep.h
  78.  
  79. sm_unix.o: mail.h misc.h osdep.h
  80.  
  81. osdep.o: mail.h osdep.h os_hpp.c
  82.     $(CC) $(CFLAGS) -c os_hpp.c
  83.     mv os_hpp.o osdep.o
  84.  
  85. osdep.h: os_hpp.h
  86.     rm -f osdep.h
  87.     ln os_hpp.h osdep.h
  88.  
  89.  
  90. # A monument to a hack of long ago and far away...
  91. love:
  92.     @echo 'not war?'
  93.  
  94.